package tongwentongshu.com.app.bean;

import java.util.List;

/**
 * Created by XiongBin on 2017/7/28.
 */

public class MessageBean extends AppItem {

    /**
     * data : [{"messid":"44","content":"成功获得书籍啦！小主人，您预约的书籍已经成功到手啦~","title":"书籍转交通知","is_read":"0","message_type":"2","send_time":"2017-08-09 22:35:45","book_id":"0","message_style":"1","url":"http://tongwentongshu.cn/index.php?g=&m=User&a=notice_message&id=44&type=2"},{"messid":"42","content":"主人，您已成功交纳押金1元快去看看，很多好书求带走哦~","title":"押金通知","is_read":"1","message_type":"2","send_time":"2017-08-09 22:19:41","book_id":"0","message_style":"2","url":"http://tongwentongshu.cn/index.php?g=&m=User&a=notice_message&id=42&type=2"},{"messid":"29","content":"恭喜主人，您的分享图书《行为心理学》已成功转交其他读者+30书豆","title":"变更通知","is_read":"1","message_type":"2","send_time":"2017-08-09 16:44:51","book_id":"0","message_style":"2","url":"http://tongwentongshu.cn/index.php?g=&m=User&a=notice_message&id=29&type=2"},{"messid":"22","content":"恭喜主人，您的分享图书《行为心理学》已成功转交其他读者+30书豆","title":"变更通知","is_read":"1","message_type":"2","send_time":"2017-08-08 22:11:57","book_id":"0","message_style":"2","url":"http://tongwentongshu.cn/index.php?g=&m=User&a=notice_message&id=22&type=2"},{"messid":"20","content":"主人，您已成功交纳押金1元快去看看，很多好书求带走哦~","title":"押金通知","is_read":"1","message_type":"2","send_time":"2017-08-08 22:11:31","book_id":"0","message_style":"3","url":"http://tongwentongshu.cn/index.php?g=&m=User&a=notice_message&id=20&type=2"},{"messid":"10","content":"启禀主人：您下发的文书已经有人一睹为快啦！","title":"预约结果通知","is_read":"1","message_type":"2","send_time":"2017-08-08 22:03:47","book_id":"0","message_style":"1","url":"http://tongwentongshu.cn/index.php?g=&m=User&a=notice_message&id=10&type=2"}]
     * num : 6
     */

    private String num;
    private List<DataBean> data;

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * messid : 44
         * content : 成功获得书籍啦！小主人，您预约的书籍已经成功到手啦~
         * title : 书籍转交通知
         * is_read : 0
         * message_type : 2
         * send_time : 2017-08-09 22:35:45
         * book_id : 0
         * message_style : 1
         * url : http://tongwentongshu.cn/index.php?g=&m=User&a=notice_message&id=44&type=2
         */

        private String messid;
        private String content;
        private String title;
        private String is_read;
        private String message_type;
        private String send_time;
        private String book_id;
        private String message_style;
        private String url;
        private String is_auth;

        public String getIs_auth() {
            return is_auth;
        }

        public void setIs_auth(String is_auth) {
            this.is_auth = is_auth;
        }

        public String getMessid() {
            return messid;
        }

        public void setMessid(String messid) {
            this.messid = messid;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getIs_read() {
            return is_read;
        }

        public void setIs_read(String is_read) {
            this.is_read = is_read;
        }

        public String getMessage_type() {
            return message_type;
        }

        public void setMessage_type(String message_type) {
            this.message_type = message_type;
        }

        public String getSend_time() {
            return send_time;
        }

        public void setSend_time(String send_time) {
            this.send_time = send_time;
        }

        public String getBook_id() {
            return book_id;
        }

        public void setBook_id(String book_id) {
            this.book_id = book_id;
        }

        public String getMessage_style() {
            return message_style;
        }

        public void setMessage_style(String message_style) {
            this.message_style = message_style;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
